﻿using System.Collections.Generic;

namespace com.binance.client.model.market
{
	using BinanceApiConstants = com.binance.client.constant.BinanceApiConstants;
	using ToStringBuilder = org.apache.commons.lang3.builder.ToStringBuilder;

	public class OrderBook
	{

		private long? lastUpdateId;

		private IList<OrderBookEntry> bids;

		private IList<OrderBookEntry> asks;

		public virtual long? LastUpdateId
		{
			get
			{
				return lastUpdateId;
			}
			set
			{
				this.lastUpdateId = value;
			}
		}


		public virtual IList<OrderBookEntry> Bids
		{
			get
			{
				return bids;
			}
			set
			{
				this.bids = value;
			}
		}


		public virtual IList<OrderBookEntry> Asks
		{
			get
			{
				return asks;
			}
			set
			{
				this.asks = value;
			}
		}


		public override string ToString()
		{
			return (new ToStringBuilder(this, BinanceApiConstants.TO_STRING_BUILDER_STYLE)).append("lastUpdateId", lastUpdateId).append("bids", bids).append("asks", asks).ToString();
		}
	}

}